<?php
include('connection.php');
$name = $_POST['name'];
$surname = $_POST['surname'];
$group = $_POST['group'];
$login = $_POST['login'];
$password = $_POST['password'];

$query="INSERT INTO user VALUES ('','$name','$surname','$group','$login', '$password', '4');";
mysql_query($query);
header( "Location: ../index.php" );
?>
